#include<iostream>

using namespace std;

int main()

{
    int n1,n2;

    cin>>n1;

    cin>>n2;

    if(n2== 0)

    {
        cout<<endl<<"ERROR.";
    }
    else
    {
        cout<<endl<<n1/n2;
    }

    return 1;
}
